<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" id="viewportId" content="width=device-width,initial-scale=1.0,maximum-scale=1.0"/>
    <meta name="applicable-device" content="pc,mobile">
    <title><?php echo $global_config['title']; ?></title>
    <meta name="keywords" content="<?php echo $global_config['keywords'];?>" />
    <meta name="description" content="<?php echo $global_config['description'];?>" />
    <link type="text/css" href="__PUBLIC__/Home/css/bootstrap.min.css" rel="stylesheet"/>
    <link type="text/css" href="__PUBLIC__/Home/css/bass.css" rel="stylesheet"/>
    <link type="text/css" href="__PUBLIC__/Home/css/hdft.css" rel="stylesheet"/>
    <link type="text/css" href="__PUBLIC__/Home/css/xy.css" rel="stylesheet"/>
    <script type="text/javascript" src="__PUBLIC__/Home/js/jquery-1.9.1.min.js" charset="UTF-8"></script>
    <script type="text/javascript" src="__PUBLIC__/Home/js/bootstrap.min.js" charset="UTF-8"></script>
</head>
<body>
    <div class="xy-wrap">
        <!--头部 start-->
        <include file="Public/header"/>
        <!--头部 end-->
        <!--内容 start-->
        <div class="xy-content">
            <div class="connews-bg"></div>
            <div class="con-main minw clearfix">
                <include file="Public/sideBarNews"/>
                <div class="con-txt">
                    <div class="news-txt clearfix">
                        <?php foreach($list as $item) { ?>
                        <div class="newsli">
                            <div class="newsimg">
                                <img src="<?php echo $item['pic']; ?>" alt="<?php echo $item['title']; ?>"/>
                            </div>
                            <div class="newswords">
                                <div class="words-tit"><a target="_blank" href="<?php echo U('News/detail', array('nav_flag' => 'news', 'cat_id' => $item['cat_id'], 'id' => $item['id'])); ?>"><?php echo $item['title']; ?></a></div>
                                <div class="words-con"><?php echo $item['description']; ?></div>
                            </div>
                        </div>
                        <?php } ?>
                    </div>
                </div>
            </div>
        </div>
        <!--内容 end-->
        <!--底部 start-->
        <include file="Public/footer"/>
        <!--底部 end-->
    </div>
</body>
</html>